package com.joysuch.wwyt.mh.storage;

import com.joysuch.wwyt.core.entity.BaseConfig;
import com.joysuch.wwyt.mh.entity.MhAlarmLimitConfig;
import com.joysuch.wwyt.mh.storage.impl.AbstractBizIMonitorPointDataHandler;
import com.joysuch.wwyt.risk.entity.RiskEvaluationControl;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

/**
 * @author qingzhou
 * 2019-11-20
 */
@Slf4j
@Component
public class DemoBizIMonitorPointDataHandler extends AbstractBizIMonitorPointDataHandler {

    @Override
    public void handle(List<MonitorPointData> list, Map<String, MhAlarmLimitConfig> configMap, Map<String,Map<Integer,String>> levelMaps, BaseConfig switchConfig,Map<String, RiskEvaluationControl> dyContMap) {

        log.info("biz receive monitor point data {}", list.size());

    }
}
